package com.oa.cc.service;

import com.oa.cc.dao.DeptDao;
import com.oa.domain.Dept;

public class DeptServiceImpl implements DeptService {

	private DeptDao deptDao;
	public void setDeptDao(DeptDao deptDao) {
		this.deptDao = deptDao;
	}
	public DeptDao getDeptDao() {
		return deptDao;
	}
	
	public Dept getDeptById(Long deptno) {
		return deptDao.getDeptById(deptno);
	}

}
